-
Home
-
Five Star Restaurant Menu and Food Ordering
-
2.2.3
-
Code
-
Classes
- CustomerTest
| Total Complexity |
17 |
| Dependencies |
3 |
| Dependents |
0 |
| Total lines |
274 |
| Lines of code |
194 |
| Logical lines of code |
128 |
| Comment lines |
9 |
| Methods |
17 |
| Properties |
0 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| testCustomerDeleteSource() |
S |
52 |
1 |
23 |
| testCustomerDeleteCard() |
S |
53 |
1 |
22 |
| testCustomerAddSource() |
S |
56 |
1 |
17 |
| testCustomerAddCard() |
S |
57 |
1 |
16 |
| testSave() |
S |
59 |
1 |
15 |
| testCancelSubscription() |
S |
60 |
1 |
14 |
| testCustomerUpdateCard() |
S |
61 |
1 |
12 |
| testCustomerUpdateSource() |
S |
61 |
1 |
12 |
| testUpdateSomeMetadata() |
S |
63 |
1 |
11 |
| testUpdateAllMetadata() |
S |
62 |
1 |
11 |
| testDeletion() |
S |
70 |
1 |
6 |
| testBogusAttribute() |
S |
74 |
1 |
5 |
| testUpdateDescriptionEmpty() |
S |
76 |
1 |
4 |
| testUpdateDescriptionNull() |
S |
68 |
1 |
7 |
| testUpdateMetadata() |
S |
68 |
1 |
7 |
| testDeleteMetadata() |
S |
68 |
1 |
7 |
| testUpdateInvalidMetadata() |
S |
74 |
1 |
5 |